﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

<head>
    <title></title>
      <link href="../Resource/Easyui/themes/default/easyui.css" rel="stylesheet" type="text/css" />
	  <link href="../Resource/Easyui/themes/icon.css" rel="stylesheet" type="text/css" />
	  <link href="../Resource/Easyui/themes/default/combobox.css" rel="stylesheet" type="text/css" /> 
        <script src="../Resource/js/jquery-1.4.2.min.js"  charset="utf-8"  type="text/javascript"></script>
        <script src="../Resource/Easyui/jquery.easyui.min.js" charset="utf-8" type="text/javascript"  ></script>
        <script src="../Resource/Easyui/easyui-lang-zh_CN.js" charset="utf-8" type="text/javascript" ></script>
        <script src="../Resource/js/json2.js" charset="utf-8" type="text/javascript"></script>
        <script src="../Resource/js/jQuery.url.js" charset="utf-8" type="text/javascript"></script>

</head>
<body>
    <div id="dlg" style="padding:20px;">
    <h2>Account Information</h2>
    <form id="ff" action="Service/DemoHandler.ashx/GetPerson" method="post">
        <table>
            <tr>
                <td>Name:</td>
                <td><input type="text" name="name" value="wzcheng" /></td>
            </tr>
            <tr>
                <td>Address:</td>
                <td><input type="text" name="address"  value ="香槟小镇"/></td>
            </tr>
            <tr>
                <td>City:</td>
                 <td><input type="text" name="city" value="合肥" /></td>
            </tr>
        </table>
    </form>
</div>
</body>
<script language="javascript" type="text/javascript">
    $('#dlg').dialog({
        title: 'Register',
        width: 310,
        height: 250,
        buttons: [{
            text: 'Submit',
            iconCls: 'icon-ok',
            handler: function() {
                $('#ff').form('submit', {
                    success: function(data) {
                        debugger;
                        $.messager.alert('Info', data, 'info');
                    }
                });
            }
        }, {
            text: 'Cancel',
            iconCls: 'icon-cancel',
            handler: function() {
                $('#dlg').dialog('close');
            }
}]
        });

</script>

</html>
